package jmu.cultural_tourism.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * 用户表(SysUserinfo)实体类
 *
 * @author makejava
 * @since 2025-07-24 11:13:45
 */
public class SysUserinfo implements Serializable {
    private static final long serialVersionUID = 917184499591340808L;
    /**
     * 用户ID
     */
    private Integer userId;
    /**
     * 用户名字
     */
    private String userName;
    /**
     * 身份证
     */
    private String userIdCar;
    /**
     * 电话号码
     */
    private String userPhone;
    /**
     * 生日
     */
    private Date userBirthday;
    /**
     * 性别
     */
    private String userSex;
    /**
     * 账号
     */
    private String userAccount;
    /**
     * 用户密码
     */
    private String password;
    /**
     * 角色ID（0管理员、1正式用户）
     */
    private Integer userRole;
    /**
     * 年龄
     */
    private Integer userAge;


    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserIdCar() {
        return userIdCar;
    }

    public void setUserIdCar(String userIdCar) {
        this.userIdCar = userIdCar;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public Date getUserBirthday() {
        return userBirthday;
    }

    public void setUserBirthday(Date userBirthday) {
        this.userBirthday = userBirthday;
    }

    public String getUserSex() {
        return userSex;
    }

    public void setUserSex(String userSex) {
        this.userSex = userSex;
    }

    public String getUserAccount() {
        return userAccount;
    }

    public void setUserAccount(String userAccount) {
        this.userAccount = userAccount;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getUserRole() {
        return userRole;
    }

    public void setUserRole(Integer userRole) {
        this.userRole = userRole;
    }

    public Integer getUserAge() {
        return userAge;
    }

    public void setUserAge(Integer userAge) {
        this.userAge = userAge;
    }

}

